package DALFactory;

import java.util.Date;

public interface IDataSearchLogMapper {

	/**
	 * 插入一条记录（日志）
	 * 
	 * @param keyword
	 *            关键字
	 * @param type
	 *            关键字类型
	 * @param date
	 *            时间
	 * @param UID
	 *            用户ID
	 * @return
	 */
	public abstract boolean InsertSearch_Log(String keyword, String type,
			Date date);

	public abstract int querySearchLog(String type, Date startDate,
			Date endDate);
	
	public abstract int querySearchLog(Date startDate,	Date endDate);

}